package com.software.demo2.entity;

import lombok.Data;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

@Data
@Entity
@DiscriminatorValue(value = "HE")
public class HourlyEmployee extends Employee {
    private double rate;
}
